/* 
hero
*/
#hero {
    background: url(../imgs/hero-bg.png);
    background-size: cover;
    height: calc(100vh - 0.9rem);
    color: #fff;
}

#hero .portrait {
    width: 1.39rem;
    margin-top: 1.99rem;
    margin-left: 3.86rem;
}

#hero p {
    font-size: 0.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-top: 0.58rem;
    margin-left: 3.6rem;
}

#hero p span {
    color: #F3B942;
}

#hero .about-me {
    display: block;
    text-align: center;
    height: 0.72rem;
    width: 1.89rem;
    line-height: 0.72rem;
    background-color: #4192F3;
    font-size: 0.3rem;
    border-radius: 0.25rem 0.25rem 0.25rem 0rem;
    color: #FFFFFF;
    margin-top: 0.59rem;
    margin-left: 3.6rem;
    transition: 0.3s;
}

#hero .about-me:hover {
    background-color: #4191f3b6;

}

/* 
portfolio
*/
#portfolio .carousel {
    overflow: hidden;
    margin-top: 0.12rem;
    position: relative;
    height: 590px;
}

#portfolio .arrows {
    text-align: right;
    user-select: none;
}

#portfolio .arrows span {
    width: 0.18rem;
    height: 0.19rem;
    display: inline-block;
    background-size: contain;
    margin-bottom: 0.42rem;
    cursor: pointer;
}

#portfolio .arrows span.prev {
    margin-right: 0.32rem;
    background-image: url(../imgs/arrow-prev-valid@2x.png);
}

#portfolio .arrows span.prev.invalid {
    margin-right: 0.32rem;
    background-image: url(../imgs/arrow-prev-invalid@2x.png);
}

#portfolio .arrows span.next {
    background-image: url(../imgs/arrow-next-valid@2x.png);
}

#portfolio .arrows span.next.invalid {
    background-image: url(../imgs/arrow-next-invalid@2x.png);
}

#portfolio .imgs {
    position: absolute;
    left: 0;
    transition: 0.8s;
}

#portfolio .imgs-wrap {
    margin-right: 30px;
    width: 380px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 10px;
}

#portfolio .imgs img {
    width: 100%;
    /* width: 380px; */
    transition: 0.3s;
}

#portfolio .imgs-info {
    background-color: rgba(0, 0, 0, 0.712);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-indent: 30px;
    /* suojin */
    opacity: 0;
    transition: 0.3s;
}

#portfolio .imgs-wrap:hover .imgs-info {
    opacity: 1;
}

#portfolio .imgs-wrap:hover img {
    transform: scale(1.2);
    /* 缩放1.2倍 */
}

#portfolio .imgs-info .imgs-links {
    margin-top: 10px;
    margin-bottom: 20px;
}

#portfolio .imgs-info i {
    font-size: 30px;
}

#portfolio .imgs-info .imgs-links a:hover {
    color: #ec6941;
}

#blog {
    background-color: #010e1e;
}